package com.sscw.task;

import com.guaike.core.redis.annotation.EnableRedissonClient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan("com.sscw.task.mapper")
@EnableScheduling
@EnableRedissonClient
@ComponentScan({"com.sscw", "com.guaike"})
public class TaskApplication {

	public static void main(String[] args) {
		SpringApplication.run(TaskApplication.class, args);
	}
}
